var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.dynamicObjMoveSchedule(-1412, -878, -1412, 23, -1412, -878, 1, 0, 10, "elev_e_b3_00", 10000 * 2, 0);
            cm.dynamicObjMoveSchedule(-1412, 23, -1412, -878, -1412, 23, 1, 0, -10, "elev_e_b3_00", 10000 * 2, 10000);
            cm.dispose()
        }
    }
};